<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<html>
<head>
    <title>Title</title>

    <style type="text/css">
        .p {
            color: red;
            font-size: 16px;
        }
    </style>
</head>
<body>
<h3>提示账号：wangwu,密码：123456。没有使用md5盐值加密</h3>
<br>
<c:if test="${msg != null}">
    <p class="p">${msg}</p>
</c:if>
<br>
<form action="${pageContext.request.contextPath}/login" method="post">
    <table>
        <tr>
            <td>用户名：</td>
            <td><input type="text" name="username"></td>
        </tr>
        <tr>
            <td>密码：</td>
            <td><input type="password" name="password"></td>
        </tr>
    </table>
    <input type="submit" value="登录">
</form>
</body>
</html>